package com.bd.scm.dao.mapper.standardReports;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.bd.scm.domain.dto.standardReports.UserSwipingInformationSearchDto;
import com.bd.scm.domain.models.standardReports.UserSwipingInformation;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserSwipingInformationMapper extends BaseMapper<UserSwipingInformation> {
    /**
     * 获取班次.
     *
     * @param userSwipingInformationSearchDto
     */
    List<JSONObject> getShiftId(@Param("userSwipe") UserSwipingInformationSearchDto userSwipingInformationSearchDto);
    /**
     * 更新表头.
     *
     * @param list
     */
    void updateTableTitle(@Param("list")List<JSONObject> list);
    /**
     * 删除表头中的班次.
     **/
    void deleteTableTitle();

    /**
     * 获取员工打卡信息列表.
     *
     * @param userSwipingInformationSearchDto 条件
     * @return
     */
    List<JSONObject> getUserSwipingList(@Param("userSwipe") UserSwipingInformationSearchDto
            userSwipingInformationSearchDto);
}
